<div class="page_head">
  <span class=intro_txt>
     <a href="#" class="admin" onclick="javascript:
            name = prompt('<%="Input the new writeboard name:".t%>', $('wname').innerHTML);
            if (name && name!= 'null'){
	       Element.show('indicator_rname');
	       new Ajax.Request('/writeboards/change_name/?name='+ encodeURIComponent(name) +'&project_id=<%=params[:project_id]%>&wrid=<%=@writeboard.id%>',{asynchronous:true, evalScripts:true});
	     }  else {
     }"><%="Rename".t%></a>
     <%="Initialized by".t%>: <%=@writeboard.user.name%>(<%=@writeboard.created_at.strftime("%m-%d %H:%M")%>) <%="Versions".t%>:<%=@writeboard.wikis.size%>
     </span>
     <%=indicator('rname')%>
  <h2 id='wname'><%=@writeboard.name%></h2>
 </div>
 
<div id=loading style="text-align:left;position:absolute;margin-left:5px;margin-top:2px;font-weight:bold;background:red;color:white;z-index:2000">
  <%=image_tag"loading.gif"%><%="Loading writeboard content, please wait...".t%>
</div>
 <iframe id='framedoc' src="/projects/<%=@writeboard.project_id%>/writeboards/wiki?wrid=<%=@writeboard.id%>" width="100%" height="420" style="border:1px #ccc solid;overflow:hidden;padding:0" frameborder=0 border=0>
 </iframe>
 <script>
  $('framedoc').style.height = screen.height * 0.48 + 40;
  $('framedoc').style.width = screen.width * 0.63 + 10;
 </script>
